package com.culture.config.constant;

public enum ScheduleStatus {
    DEFAULT(0, "default"),
    START(1, "started"),
    STOP(2, "stopped"),
	COMPLETED(3, "completed");
	
	private int id;
	private String name;
	
	ScheduleStatus(int id, String name){
		this.id = id;
		this.name = name;
	}
	
	public int id() {
		return this.id;
	}
	
	public String getName() {
		return this.name;
	}

	public boolean equalById(int id){
		return this.id == id;
	}

	public boolean notEqualById(int id){
		return this.id != id;
	}
}
